package com.topisv.tms.repository.stock.instorage;

import java.util.List;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.topisv.tms.entity.log.OrderLog;
import com.topisv.tms.entity.stock.instorage.InstorageLog;

/**
 * 入库日志_dao
 * @author ch
 *
 */
public interface InstorageLogDao extends PagingAndSortingRepository<InstorageLog, Long>, JpaSpecificationExecutor<InstorageLog> {

	@Query("select t from InstorageLog t where t.billCode=? order by t.id")
	List<InstorageLog> loadLogByBillCode(String billCode);
}